#!/usr/bin/env python3
# -*- coding: utf-8 -*-


sum=0
r=range(1,101)
for i in r:
	sum+=i
print('1 to 100 sum is: %d'%sum)

sum=0
n=99
while n>0:
	sum+=n
	n=n-2
print('1 to 100 jishu sum is: %d'%sum)

r=range(10)
for i in r:
	if i>5 :
		break
	print(i)

r=range(10)
for i in r:
	if i%2 == 1:
		continue
	print(i)